package com.lry.web.fiction.service;

import com.lry.web.fiction.entity.FictionUpdate;
import com.lry.web.fiction.entity.Fiction;
import com.lry.web.fiction.entity.FictionUpdate;

import java.util.List;
import java.util.Map;

public interface FictionUpdateService {

    int setFictionUpdate(FictionUpdate fictionUpdate);

    List<FictionUpdate> getFictionUpdates();

    int setFictionUpdateUp(FictionUpdate fictionUpdate);
    int deleteByFictionId(String fictionId);
    int deleteByFId(String fId);
    int deleteByFVId(String fVId);
    Map<String, FictionUpdate> selectByFiction(List<Fiction> fictions);
    int updateDeleted(String fictionId);
}
